﻿using MediatR;
using ProduceBasicData.ErrorCode;

namespace ProduceBasicData.Api.Application.Command.DeviceManage
{
    /// <summary>
    /// 创建设备命令
    /// </summary>
    public class CreateDeviceTypeCommand: IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 设备类型编码
        /// </summary>
        public string? DeviceTypeCode { get; set; }

        /// <summary>
        /// 设备类型名称
        /// </summary>
        public string? DeviceTypeName { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool State { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Notes { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateName { get; set; }


        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
    }
}
